home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTranslateKey.z
/
XmTranslateKey
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy - The default keycode-to-keysym translator
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
vvvvooooiiiidddd XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy(
DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
KKKKeeeeyyyyCCCCooooddddeeee kkkkeeeeyyyyccccooooddddeeee,
MMMMooooddddiiiiffffiiiieeeerrrrssss mmmmooooddddiiiiffffiiiieeeerrrrssss,
MMMMooooddddiiiiffffiiiieeeerrrrssss ****mmmmooooddddiiiiffffiiiieeeerrrrssss____rrrreeeettttuuuurrrrnnnn,
KKKKeeeeyyyySSSSyyyymmmm ****kkkkeeeeyyyyssssyyyymmmm____rrrreeeettttuuuurrrrnnnn);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy is the default _X_t_K_e_y_P_r_o_c translation
procedure for Motif applications. The function takes a
keycode and modifiers and returns the corresponding keysym.
XXXXmmmmTTTTrrrraaaannnnssssllllaaaatttteeeeKKKKeeeeyyyy serves two main purposes: to enable new
translators with expanded functionality to get the default
Motif keycode-to-keysym translation in addition to whatever
they add, and to reinstall the default translator. This
function enables keysyms defined by the Motif virtual
bindings to be used when an application requires its own
XtKeyProc to be installed.
_d_i_s_p_l_a_y Specifies the display that the keycode is from
_k_e_y_c_o_d_e Specifies the keycode to translate
_m_o_d_i_f_i_e_r_s Specifies the modifier keys to be applied to the
keycode
_m_o_d_i_f_i_e_r_s__r_e_t_u_r_n
Specifies a mask of the modifier keys actually
used to generate the keysym (an AND of _m_o_d_i_f_i_e_r_s
and any default modifiers applied by the currently
registered translator)
_k_e_y_s_y_m__r_e_t_u_r_n
Specifies a pointer to the resulting keysym
RRRREEEELLLLAAAATTTTEEEEDDDD
VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3).
Page 1 (printed 10/24/98)